﻿using System.Configuration;

namespace Coding4Fun.PrinterDisplayHack
{
    public class PrinterHackSettings : ApplicationSettingsBase
    {
        private static PrinterHackSettings _PrinterHackSettings = ((PrinterHackSettings)(Synchronized(new PrinterHackSettings())));

        public static PrinterHackSettings Default
        {
            get
            {
                return _PrinterHackSettings;
            }
        }


        [UserScopedSetting()]
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [DefaultSettingValue("")]
        public string PrinterAddress
        {
            get
            {
                return ((string)(this["PrinterAddress"]));
            }
            set
            {
                this["PrinterAddress"] = value;
            }
        }

        [UserScopedSetting()]
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [DefaultSettingValue("")]
        public bool StartWithWindows
        {
            get
            {
                return ((bool)(this["StartWithWindows"]));
            }
            set
            {
                this["StartWithWindows"] = value;
            }
        }

        [UserScopedSetting()]
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [DefaultSettingValue("")]
        public bool Enabled
        {
            get
            {
                return ((bool)(this["Enabled"]));
            }
            set
            {
                this["Enabled"] = value;
            }
        }

        [UserScopedSetting()]
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [DefaultSettingValue("")]
        public string StockSymbol
        {
            get
            {
                return ((string)(this["StockSymbol"]));
            }
            set
            {
                this["StockSymbol"] = value;
            }
        }
    }
}
